import request from '@/utils/request'

// 获取列表
export function getList (queryParams) {
  return request({
    url: '/visitor/declareWebsite/queryZkDeclarePolicyList',
    headers: {
      isToken: false,
    },
    method: 'get',
    params: queryParams
  })
}

// 获取详情
export function getInfo (id) {
  return request({
    url: '/visitor/declareWebsite/getZkDeclarePolicy',
    headers: {
      isToken: false,
    },
    method: 'get',
    params: {
      policyId: id
    }
  })
}
